<?php

// 8种数据类型

$string = "xuebingsi";


var_dump(gettype($string));

$string = 'xuebingsi';

// 定界符
$str = <<<bbb
<img class='ui inline black image' height='28' src='/logo-black.svg?20171024' width='95'>
</a></div>
<a href="/explore" class="item " title="开源软件">开源软件
</a><a href="/enterprises" class="item " title="企业版">企业版
<sup class='ui red label'>
特惠
</sup>
</a><a href="/education" class="item " title="高校版">高校版
</a><a href="https://blog.gitee.com/" class="item" id="gitee-blog" target="_blank" title="博客">博客
</a><div class='right menu userbar' id='git-nav-user-bar'>
<div class='item'>
<form accept-charset="UTF-8" action="/search" autocomplete="on" data-text-filter="搜索格式不正确" data-text-require="搜索关键字不能少于1个" id="navbar-search-form" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
<div class='ui mini fluid input'>
<input id="navbar-search-input" name="q" placeholder="搜索项目、代码片段..." type="text" value="" />
<input id="navbar-search-type" name="type" type="hidden" />
</div>
</form>
bbb;

$num = 1231;

$float = 12.56;

$bool = true;

$bool = false;

$null = null;

// $arr = [5436,5,6,56,5,6];

// $obj = new Abc();

// $res = fopen("./log.txt");
// 


$num =1000;

// settype($num,"string");

$str = strval($num);

$str ='2000';

intval($str);

var_dump($str);

